using System;
using Microsoft.Extensions.DependencyInjection;
using BJoin.Application.WebApi.AutoDI.PublicButHidden;

namespace BJoin.Application.WebApi.AutoDI
{
    /// <summary>
    /// Attribute for marking classes which need to register with Singleton lifetime
    /// </summary>
    public class RegisterAsSingletonAttribute : RegisterWithLifetimeAttribute
    {
        /// <summary>
        /// ctor to set the ServiceLifetime
        /// </summary>
        public RegisterAsSingletonAttribute() : base(ServiceLifetime.Singleton)
        {
        }
    }
}